// import {createApp} from 'vue';
import Vue from 'vue';
import App from './App.vue';
import router from './router/router';
import store from './store/index';
import {axios} from './utils/request';
import elementUI from "element-ui";
import VueCompositionAPI from '@vue/composition-api'

import 'components/global.js'
import "./utils/directive";
import "./element-variables.scss";
import '../public/iconfont/iconfont.css';
import "./assets/css/reset.css";
import "./assets/css/common.css";

import 'nprogress/nprogress.css';

/* import elTableTransfer from 'el-table-transfer'
Vue.use(elTableTransfer) */

Vue.use(VueCompositionAPI)
Vue.use(elementUI);
Vue.prototype.$axios = axios;

// Vue.prototype.$mapBaseURL = mapBaseURL;
//关闭生产环境的调试信息
const isDebug_mode = process.env.NODE_ENV !== 'production';
Vue.config.debug = isDebug_mode;
Vue.config.devtools = isDebug_mode;
Vue.config.productionTip = isDebug_mode;


new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
});
/* const app = createApp(App)
app.use(router);
app.use(store);
app.mount('#app') */
